Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Shader Transforms

Labels

ASCII
ShaderTransform
Binary
sdxf ( = 0x73647866 )

Data Format

Matrix4x4           shaderTransform
shaderTransform
A 4-by-4 matrix.

Data Size

64

Description

A shader transform transforms a shaded object into a distinct world-space coordinate system. A shader transform does not affect the current transformation hierarchy and does not affect the manner in which the object to which it is applied is drawn.

Parent Hierarchy

Data.

Parent Objects

Any shader. A shader transform always has a parent object.

Child Objects

None.

Example

Container (
    CustomShader ( )
    ShaderTransform (
        1 0 0 0
        0 1 0 0
        0 0 1 0
        2 3 4 1
    )
)

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |